package org.bigdata.framework.core.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2017-08-30
 */
@TableName("thesauri_word_relation")
public class ThesauriWordRelation implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 关系中文名称
	 */
	@TableField(value="name_zh")
	private String nameZh;

	/**
	 * 关系英文名称，建议使用大写字母利用英文下划线分割
	 */
	@TableField(value="name_en")
	private String nameEn;

	/**
	 * 排序
	 */
	private Integer sort;

	/**
	 * 关系描述
	 */
	private String description;

	/**
	 * 关联叙词表模块表
	 */
	@TableField(value="thesauri_word_module_id")
	private Integer thesauriWordModuleId;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNameZh() {
		return nameZh;
	}

	public void setNameZh(String nameZh) {
		this.nameZh = nameZh;
	}

	public String getNameEn() {
		return nameEn;
	}

	public void setNameEn(String nameEn) {
		this.nameEn = nameEn;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getThesauriWordModuleId() {
		return thesauriWordModuleId;
	}

	public void setThesauriWordModuleId(Integer thesauriWordModuleId) {
		this.thesauriWordModuleId = thesauriWordModuleId;
	}

}
